package com.teamone.etl.systemsettings.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (LoginMessage)表实体类
 *
 * @author makejava
 * @since 2021-01-22 11:19:11
 */
@SuppressWarnings("serial")
public class LoginMessage extends Model<LoginMessage> {
    /**
     * 记录id
     */
    private Integer id;
    /**
     * 登录人id
     */
    private Integer userId;
    /**
     * ip地址
     */
    private String ipAddress;
    /**
     * 登录地址
     */
    private String loginAddress;
    /**
     * 登录时间
     */
    private Object loginTime;
    /**
     * 0登录成功 -1登录失败
     */

    /**
     * 0登录成功 -1登录失败
     */
    private Integer loginStatus;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getLoginAddress() {
        return loginAddress;
    }

    public void setLoginAddress(String loginAddress) {
        this.loginAddress = loginAddress;
    }

    public Object getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Object loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(Integer loginStatus) {
        this.loginStatus = loginStatus;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}